﻿// 1.1.3.03. Write a program that check a variable for 7 hundreds.

using System;

class CheckForSevenHundreds
{
    static void Main()
    {
        while (true)
        {
            Console.Write("Please enter a number: ");
            int inputNumber = (int.Parse(Console.ReadLine()) / 100);
            bool isSevenHudreds = (inputNumber % 10 == 7);
            Console.WriteLine("The number has 7 hundreds: {0}.", isSevenHudreds);
        }
    }
}